#ifndef GETPROFILERESPONSE_H
#define GETPROFILERESPONSE_H

#include "network/networkjsonlistresponse.h"
#include "profile/profiledata.h"


class GetProfileResponse : public Network::JSONResponse
{
    Q_OBJECT
public:
    explicit GetProfileResponse(QObject *parent = 0);

private:
    Profile::ProfileData m_profile;

public:

    const Profile::ProfileData &profile() const;
    
private:
    void parse(const QVariant &data);
};

#endif // GETPROFILERESPONSE_H
